home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Magic Disk 64
/
Magic_Disk_64_91-10_1991_-_de_Side_B.d64
/
sound bibliothek
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
11KB
|
378 lines
0 rem *******************************
1 rem ** **
2 rem ** - sound bibliothek - **
3 rem ** **
4 rem ** written 1991 by **
5 rem ** **
6 rem ** michael ruettinger **
7 rem *** ***
8 rem **** bitte lesen sie auch ****
9 rem *** am ende dieses listings ***
10 rem ** **
11 rem *******************************
12 print"[147]":poke775,167:poke788,49:poke808,237
20 poke53281,0:poke53280,0:poke53272,23
30 print"[147] =>[158] [211][207][213][206][196] [194][201][194][204][201][207][212][200][197][203] <=":print" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]"
31 print"[155]written 1991 by [210][213][197][212][212][201][206][199][197][210] [208][210][207][196][213][195][212][201][207][206][211]"
32 print"[159][211]ound [194]ibliothek installiert."
33 print"[211]ie koennen jetzt jeden beliebigen "
34 print"[211]ound, den [211]ie wuenschen, aufrufen."
36 print"goto [158][216][216][216][145][145][145][144]":poke631,5:poke632,29:poke633,29:poke634,29:poke635,29
37 poke636,29:poke198,6:end
50 s=54272:pokes+24,15
51 fortt=0to13:pokes+tt,0:next:return
70 forj=1tom:next:return
89 rem
90 rem ***************************
91 rem
92 rem >>> hier geht's los! <<<
93 rem
94 rem ***************************
98 rem
99 rem *** piep ***
100 rem
101 gosub50:pokes+5,10:pokes+6,10:pokes+3,8:pokes,64:pokes+1,156:pokes+22,50
102 pokes+23,0:pokes+24,15:pokes+4,17:m=100:gosub70:pokes+4,100:end
107 rem
108 rem *** oboe ***
109 rem
110 gosub50:pokes+5,135:pokes+6,168:pokes+2,250:pokes,29:pokes+1,76:pokes+23,0:pokes+24,15
111 pokes+4,65:m=500:gosub70:pokes+4,64:end
117 rem
118 rem *** fagott ***
119 rem
120 gosub50:pokes+5,135:pokes+6,168:pokes+2,250:pokes,196:pokes+1,9:pokes+23,0:pokes+24,15
121 pokes+4,65:m=750:gosub70:pokes+4,64:end
125 rem
126 rem *** vibration ***
127 rem
130 gosub50:pokes+5,128:pokes+6,250:pokes,144:pokes+1,1:pokes+23,0:pokes+24,15
131 pokes+4,49:m=1000:gosub70:pokes+4,48:end
137 rem
138 rem *** gitarrensaite ***
139 rem
140 gosub50:pokes+5,8:pokes+6,8:pokes,76:pokes+1,29:pokes+22,50:pokes+23,241:pokes+24,111
141 pokes+4,33:m=30:gosub70:pokes+4,32:end
147 rem
148 rem *** aufzugklingel ***
149 rem
150 gosub50:pokes+6,252:pokes+2,252:pokes+3,7:pokes,48:pokes+1,117:pokes+24,15
151 pokes+4,65:m=100:gosub70:pokes+4,64:end
157 rem
158 rem *** stahlfeder ***
159 rem
160 gosub50:pokes+5,8:pokes+6,9:pokes,238:pokes+1,2:pokes+23,0:pokes+24,15
161 pokes+4,33:m=35:gosub70:pokes+4,32:end
167 rem
168 rem *** warnton ***
169 rem
170 gosub50:pokes+6,250:pokes,52:pokes+1,8:pokes+23,0:pokes+24,15
171 pokes+4,81:m=2000:gosub70:pokes+4,80:end
177 rem
178 rem *** schuss 1 ***
179 rem
180 gosub50:pokes+5,8:pokes+6,10:pokes,16:pokes+1,39:pokes+23,0
181 pokes+24,15:pokes+4,129:m=50:gosub70:pokes+4,128:end
187 rem
188 rem *** aufschrammen ***
189 rem
190 gosub50:pokes+6,240:pokes,100:pokes+23,0:pokes+24,15
191 pokes+4,129:m=2000:gosub70:pokes+4,128:end
197 rem
198 rem *** duesen ***
200 gosub50:pokes+6,253:pokes,184:pokes+1,11:pokes+22,50:pokes+23,241:pokes+24,31
201 pokes+4,129:m=3000:gosub70:pokes+4,128:end
207 rem
208 rem *** fliegende rakete ***
209 rem
210 gosub50:pokes+6,255:pokes,232:pokes+1,3:pokes+22,10:pokes+23,241:pokes+24,31
211 pokes+4,129:m=3000:gosub70:pokes+4,128:end
217 rem
218 rem *** telefon ***
219 rem
220 a=0:d=10:su=0:r=10:c=16:p=0:f=16000:g=1.33:n=2:m=24:goto50000
227 rem
228 rem *** laserkanone ***
229 rem
230 a=0:d=0:su=15:r=0:c=64:p=1000:f=30000:g=.85:n=10:m=3:goto50000
237 rem
238 rem *** raumschiffstart ***
239 rem
240 a=0:d=0:su=15:r=15:c=128:f=500:p=0:g=1.004:n=1000:m=1:goto50000
247 rem
248 rem *** turbinen ***
249 rem
250 a=0:d=0:su=15:r=15:c=32:p=2044:f=20000:g=1.001:n=460:m=1:goto50000
257 rem
258 rem *** flugabwehr ***
259 rem
260 a=0:d=5:su=2:r=9:c=128:p=0:f=20000:g=1:n=2:m=30:goto50000
267 rem
268 rem *** mg / helikopter ***
269 rem
270 a=0:d=5:su=2:r=9:c=128:p=0:f=12000:g=.7:n=3:m=30:goto50000
277 rem
278 rem *** voegel ***
279 rem
280 a=0:d=8:su=0:r=8:c=16:p=.:f=40000:g=500:n=8:m=10:a3=.:d3=8:s3=.:r3=.:c3=.
281 p3=.:f3=.:q=28:goto51000
287 rem
288 rem *** etw. hinlegen ***
289 rem
290 a=.:d=7:su=.:r=7:c=16:p=.:f=4000:g=1000:n=4:m=1:a3=.:d3=8:s3=.:r3=0
291 c3=.:p3=.:f3=.:q=28:goto51000
297 rem
298 rem *** negativ - ton ***
300 a=.:d=8:su=.:r=9:c=32:p=.:f=750:g=1000:n=7:m=1:a3=.:d3=10:s3=.:r3=.
301 c3=.:f3=.:p3=.:q=28:goto51000
307 rem
308 rem *** raumschiffkanone ***
309 rem
310 a=.:d=9.:su=.:r=11:c=128:p=.:f=5000:g=200:n=20:m=15:a3=.:d3=9:s3=.:r3=.
311 c3=.:p3=.:f3=.:q=28:goto51000
317 rem
318 rem *** martinshorn ***
319 rem
320 a=.:d=.:su=15:r=8:c=64:p=1000:f=7000:g=720:n=300:m=1:a3=.:d3=.:s3=.
321 r3=.:c3=64:p3=2048:f3=15:q=27:goto51000
327 rem
328 rem *** meeresbrandung ***
330 a=10:d=13:su=.:r=.:c=128:p=2048:f=32000:g=400:n=300:m=1:a3=.:d3=.:
331 s3=.:r3=.:c3=16:p3=.:f3=30:q=27:goto51000
337 rem
338 rem *** spielautomat ***
339 rem
340 a=.:d=.:su=15:r=.:c=64:p=2048:f=10000:g=200:n=400:m=1:a3=.:d3=.:s3=.:r3=.
341 c3=128:p3=.:f3=20:q=27:goto51000
347 rem
348 rem *** laserscanner ***
349 rem
350 a=9:d=10:su=.:r=.:c=32:p=.:f=50000:g=2000:n=40:m=10:a3=.:d3=.:s3=.:r3=.
351 c3=128:p3=.:f3=.:q=27:goto51000
357 rem
358 rem *** dampf ablassen ***
359 rem
360 gosub50:pokes+6,252:pokes+2,252:pokes+3,7:pokes,48:pokes+1,117:pokes+24,15
361 pokes+4,129:m=100:gosub70:pokes+4,128:end
367 rem
368 rem *** zerstoerung ***
369 rem
370 gosub50:pokes+6,12:pokes+1,3:pokes+4,129:pokes+4,128:end
377 rem
378 rem *** schuss 2 ***
379 rem
380 gosub50:pokes+6,9:pokes+1,39:pokes+4,129:pokes+4,128:end
387 rem
388 rem *** abschwellende wellen ***
389 rem
390 gosub50:pokes+13,9:pokes+11,17:pokes+11,16:fortt=100to60step-10
391 fort=tttott-60step-3:pokes+8,t:next:next:end
397 rem
398 rem *** anklicken ***
399 rem
400 gosub50:pokes+13,8:pokes+11,17:pokes+11,16:fort=150to0step-3:pokes+8,t:next:end
407 rem
408 rem *** heller zupfton ***
409 rem
410 gosub50:pokes+6,8:pokes+1,32:pokes+4,33:pokes+4,32:end
417 rem
418 rem *** dunkler zupfton ***
419 rem
420 gosub50:pokes+6,8:pokes+1,15:pokes+4,33:pokes+4,32:end
427 rem
428 rem *** brummton ***
429 rem
430 gosub50:pokes+6,10:pokes+13,10:pokes+1,11:pokes+8,3:pokes+4,21:pokes+11,33
431 pokes+4,20:pokes+11,32:end
437 rem
438 rem *** futur. raketenstart ***
439 rem
440 gosub50:pokes+13,10:pokes+11,129:pokes+11,128:fort=1to99step.4:pokes+8,t:next:end
447 rem
448 rem *** spirale ***
449 rem
450 gosub50:pokes+6,10:pokes+4,33:pokes+4,32:fort=60to0step-1:pokes+1,60+t:pokes+1,60-t
451 next:pokes+1,0:end
457 rem
458 rem *** zahnarztbohrer ***
459 rem
460 gosub50:pokes+6,10:pokes+4,33:pokes+4,32:fort=0to60:pokes+1,60+t:pokes+1,60-t:next:end
467 rem
468 rem *** motor (einschalten) ***
469 rem
470 gosub50:pokes+12,0:pokes+13,250:pokes+8,2:pokes+11,33:end
472 fort=0to6:pokes+t,0:next:pokes+6,92:pokes+1,4:pokes+4,33:pokes+4,32:end
474 gosub50:end
477 rem
478 rem *** puppenstimme ***
479 rem
480 gosub50:pokes+24,15:pokes+3,15:pokes+2,15:pokes+5,0:pokes+6,240:pokes+4,65
481 fori=250to0step-2:pokes+1,40:pokes,i:next:fori=150to0step-4:pokes+1,40:pokes,i:next
482 pokes+4,0:end
487 rem
488 rem *** propeller (ein) ***
489 rem
490 gosub50:restore:fori=0to24:reada:pokes+i,a:next:pokes+4,65:pokes+11,65:pokes+18,65:end
492 gosub50:pokes+24,0:end
497 rem
498 rem *** bildschrimrauschen ***
499 rem
500 gosub50:restore:reada:fori=1to24:reada:pokes+i,a:next:pokes+4,0:pokes+65,77:pokes+18,65:end
502 gosub50:pokes+24,0:end
507 rem
508 rem *** explosion ***
509 rem
510 s=54272:fori=1to24:pokes+i,0:next
511 gosub50:pokes+24,2:pokes+6,255:pokes+4,129:pokes+13,255:pokes+11,129:pokes+1,0:pokes+5,0
512 pokes+24,15:pokes+1,1:pokes+5,11:pokes+6,0:m=150:gosub70:pokes+12,9:pokes+13,0
513 pokes+19,10:pokes+18,129:end
517 rem
518 rem *** explosion und hall ***
519 rem
520 s=54272:fori=1to24:pokes+i,0:next
521 pokes+24,2:pokes+6,255:pokes+4,129:pokes+13,255:pokes+11,129:pokes+1,0:pokes+5,0
522 pokes+24,15:pokes+1,1:pokes+5,11:pokes+6,0:m=150:gosub70:pokes+12,9:pokes+13,0:pokes+19,10
523 pokes+18,129:m=80:gosub70:a=30:fori=1to16:m=40:gosub70:pokes+15,5:pokes+8,a
524 m=80:gosub70:pokes+15,3:pokes+8,a+20:a=a-1:nexti:pokes+4,0:pokes+11,0:pokes+18,0
525 m=300:gosub70:end
527 rem
528 rem *** langsames mg ***
529 rem
530 s=54272:fori=1to24:pokes+i,0:next:pokes+24,15
531 pokes+6,240:pokes,130:pokes+5,110:pokes+23,240:pokes+4,33:end
532 gosub50:pokes+24,0:end
537 rem
538 rem *** triebwerke warmlaufen ***
539 rem
540 s=54272:fori=1to23:pokes+i,0:next:pokes+24,15
541 pokes+6,240:pokes,180:pokes+5,8:pokes+23,240:pokes+4,129:end
542 gosub50:pokes+24,0:end
546 m=80:gosub70:pokes+15,3:pokes+8,a+20:a=a-1:nexti:pokes+4,0:pokes+11,0:pokes+18,0
547 rem
548 rem *** flugzeug - mg ***
549 rem
550 s=54272:fori=0to23:pokes+i,0:next:pokes+24,15
551 pokes+6,180:pokes,180:pokes+5,8:pokes+23,240:pokes+4,33:end
552 gosub50:pokes+24,0:end
557 rem
558 rem *** flipper ***
559 rem
560 gosub50:pokes+24,15:pokes+6,240:pokes+23,240:fori=65535to4000step-3000
561 pokes+1,i/256:pokes,i-256*int(i/256):pokes+4,33:next:pokes+4,0:pokes+11,0:end
567 rem
568 rem *** troete 1 ***
569 rem
570 s=54272:fori=0to24:pokes+i,0:next:fori=1to3:pokes+24,15:pokes+6,240:pokes,98
571 pokes+1,10:pokes+4,33:m=250:gosub70:pokes+4,0:next:pokes+4,0:end
577 rem
578 rem *** troete 2 ***
579 rem
580 gosub50:fori=1to3:pokes+24,10:pokes+6,240:pokes,27:pokes+1,4:pokes+4,33:m=370:gosub70
581 pokes+4,0:next:pokes+4,0:end
587 rem
588 rem *** fallendes objekt 1 ***
589 rem
590 gosub50:pokes+24,15:pokes+6,240:fori=80to10step-1:pokes+1,i:pokes+4,17
591 m=10:gosub70:next:pokes+24,0:end
597 rem
598 rem *** fallendes objekt 2 ***
599 rem
600 gosub50:m=15:fori=60to48step-2:pokes+24,m:pokes+6,240:pokes+1,i:pokes+4,17
601 forj=1to100:next:m=m-1:next:pokes+24,0:end
607 rem
608 rem *** alarmanlege ***
609 rem
610 gosub50:fori=1to5:l=10:forj=70to100step2:pokes+24,l:pokes+6,240:pokes+1,j
611 pokes+4,33:ifl<15thenl=l+1
612 next:next:pokes+24,0:end
617 rem
618 rem *** alarm ***
619 rem
620 s=54272:u=0
621 fori=1to24:pokes+i,0:next:pokes+7,9:pokes+10,3:pokes+13,240:pokes+22,30:pokes+23,243
622 pokes+24,31:pokes+11,65:pokes+1,140:pokes+2,2:pokes+3,2:pokes+5,5:pokes+6,255:pokes+4,65
623 fori=30to120step6:pokes+1,i:next:u=u+1:ifu>8thenpokes+24,0:end
624 fori=120to20step-6:pokes+1,i:next:goto623
627 rem
628 rem *** im u.f.o. ***
629 rem
630 s=54272:fori=0to24:pokes+i,0:next:pokes+24,15:pokes+5,21:pokes+12,21:pokes+6,0
631 pokes+13,0:fori=50to10step-10:forj=255to0step-10:pokes+4,0
632 pokes+11,0:pokes+1,1:pokes,j:pokes+7,2*i:pokes+8,j:pokes+4,17:pokes+11,33:next:next:end
637 rem
638 rem *** demo 1 (590+520) ***
639 rem
640 gosub50:pokes+24,15:pokes+6,240:fori=80to10step-1:pokes+1,i:pokes+4,17
641 m=10:gosub70:next:pokes+24,0
642 gosub50
643 pokes+24,2:pokes+6,255:pokes+4,129:pokes+13,255:pokes+11,129:pokes+1,0:pokes+5,0
644 pokes+24,15:pokes+1,1:pokes+5,11:pokes+6,0:m=150:gosub70:pokes+12,9:pokes+13,0:pokes+19,10
645 pokes+18,129:m=80:gosub70:a=30:fori=1to16:m=40:gosub70:pokes+15,5:pokes+8,a
647 m=300:gosub70:end:rem rem
648 rem *** demo 2 (540+240) ***
649 rem
650 s=54272:fori=1to23:pokes+i,0:next:pokes+24,15
651 pokes+6,240:pokes,180:pokes+5,8:pokes+23,240:pokes+4,129:m=3500:gosub70
652 a=0:d=0:su=15:r=15:c=128:f=500:p=0:g=1.004:n=1000:m=1:goto50000
657 rem
658 rem *** demo 3 (600+510) ***
659 rem
660 gosub50:m=15:fori=60to48step-2:pokes+24,m:pokes+6,240:pokes+1,i:pokes+4,17
661 forj=1to100:next:m=m-1:next
662 fori=1to24:pokes+i,0:next
663 gosub50:pokes+24,2:pokes+6,255:pokes+4,129:pokes+13,255:pokes+11,129:pokes+1,0:pokes+5,0
664 pokes+24,15:pokes+1,1:pokes+5,11:pokes+6,0:m=150:gosub70:pokes+12,9:pokes+13,0
665 pokes+19,10:pokes+18,129:end
49990 rem
49991 rem ***************************
49992 rem
49993 rem sound routine 1
49994 rem
49995 rem ***************************
49996 rem
50000 gosub50:pokes+5,16*a+d:pokes+6,16*su+r:pokes+2,pand255:pokes+3,p/256
50002 pokes+23,0:pokes+24,15:fori=1tom:f1=f:pokes+4,cor1
50004 forj=1ton:pokes,f1and255:pokes+1,f1/256:f1=f1*g:next
50006 pokes+4,c:next:end
50990 rem
50991 rem ***************************
50992 rem
50993 rem sound routine 2
50994 rem
50995 rem ***************************
50996 rem
51000 gosub50:pokes+5,16*a+d:pokes+6,16*su+r:pokes+2,pand255:pokes+3,p/256
51002 pokes+23,0:pokes+24,143:pokes+15,f3/256:pokes+14,f3-256*peek(s+15)
51004 pokes+16,p3and255:pokes+17,p3/256:pokes+19,16*a3+d3:pokes+20,16*s3+r3
51006 q=q+s:f=f/256:fori=1tom:pokes+4,cor1:pokes+18,c3or1
51008 forj=1ton:pokes+1,f*(peek(q)/g+1):next
51010 pokes+4,c:pokes+18,c3:next:end
51990 rem
51991 rem ***************************
51992 rem
51993 rem s.i.d. belegungstabelle
51994 rem
51995 rem ***************************
51996 rem
52000 data9,2,,3,,,240,12,2,,4,,,192,16,2,,6,,,64,,30,243,31
53000 rem
53001 rem *****************************
53002 rem * *
53003 rem * unser softwareangebot *
53004 rem * koennen sie hier *
53005 rem * erfahren: *
53006 rem * *
53007 rem *****************************
53008 rem * *
53009 rem * ruettinger productions *
53010 rem * michael ruettinger *
53011 rem * zerzabelshofstr.93 *
53012 rem * 8500 nuernberg 30 *
53013 rem * tel: 0911 / 408442 *
53014 rem * *
53015 rem *****************************
53016 rem * *
53017 rem * katalog kostenlos ! *
53018 rem * *
53019 rem *****************************